C_FLAGS = -mcmodel=large -m64 -fno-builtin -nostdlib -I ../../include/ -Wall -Werror -O3 -g 

OBJS = bitmap.o fifo.o 

all: $(OBJS) rlib.o 

%.o: %.c
	gcc -c $*.c $(C_FLAGS)

rlib.o: 
	ld -r -o rlib.o $(OBJS)


clear:
	rm *.o

